# Read about factories at https://github.com/thoughtbot/factory_girl
require 'securerandom'

FactoryGirl.define do
  factory :terminal, aliases: [:device] do
    mac { Array.new(6){ SecureRandom.hex 1 }.join(':') }
  end
end
